<template>
    <div class="t-main">
        <div class="item ">
            <div class="p g"></div>
            <div class="title">{{ props.data[0] }}</div>
        </div>
        <div class="item ">
            <div class="p y"></div>
            <div class="title">{{ props.data[1] }}</div>
        </div>
        <div class="item ">
            <div class="p r"></div>
            <div class="title">{{ props.data[2] }}</div>
        </div>
    </div>
</template>

<script setup>
import { reactive } from 'vue'
const props = defineProps({
    data: Object
})
</script>
<style lang="scss" scoped>
.t-main {
    display: flex;
    align-items: center;
    justify-content: center;

    .item:nth-child(2) {
        margin: 0 50px;
    }

    .item {
        display: flex;
        align-items: center;

        .title {
            font-family: Source Han Sans, Source Han Sans;
            font-weight: 500;
            font-size: 18px;
            color: #FFFFFF;
        }

        .p {
            margin-right: 7px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
        }

        .g {
            background-color: #76f654;
        }

        .y {
            background-color: #e6f85a;
        }

        .r {
            background-color: #e46a39;
        }
    }
}
</style>